home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jazlib.arc
/
JZGETDTA.C
< prev
next >
Wrap
Text File
|
1988-12-18
|
938b
|
24 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzgetdta.c │
│Return the disk transfer address so that a routine may temporarily change │
│it , then change it back. │
│ │
│See jzgetfcb.c for examples │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
jzgetdta(fofs , fseg)
int *fofs,*fseg;
{
TREG wreg;
wreg.h.ah = 0x2F; /* get dta function */
msdos(&wreg); /* call dos to get dta address */
*fofs = wreg.x.bx;
*fseg = wreg.x.es;
}